package com.kws.commercial.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.kws.commercial.dao.CommercialEquipmentLedger;
import com.kws.commercial.dao.Info.ExportEquipmentLedgerInfo;
import com.kws.commercial.dao.Info.QueryEquipmentLedgerInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CommercialEquipmentLedgerMapper extends BaseMapper<CommercialEquipmentLedger> {
    List<QueryEquipmentLedgerInfo> queryEquipmentLedgerPage(@Param("deviceNo") String deviceNo,@Param("schemeName") String schemeName,@Param("companyId") Long companyId);

    QueryEquipmentLedgerInfo queryEquipmentLedgerById(@Param("id") Long id);

    List<ExportEquipmentLedgerInfo> queryEquipmentLedgerList();
}
